{% extends "common.html" %}
{% block css %}
<style type="text/css">
  .blue{
    background:#31d2e7;
    color: white;
    padding: 15px 30px
  }
</style>
<link href="/static/css/style-hdtz.css" rel="stylesheet" type="text/css">

{% endblock %}
{% load i18n %}
{% block content %}
  
<div class="message_center"> 
         <div class="message_center-left">
         <h1><img src="/static/images/iconfont-xiaoxizhongxin.png">{% trans "messageCentre" %}</h1>
         <ul>
         {% if request.session.type == 2 %}
<li><a href="{% url "message" ''%}"><img src="/static/images/iconfont-jianli.png">{% trans "resume" %}{% trans "inform" %}</a></li>
   {% endif %}

  <li><a href="{% url "message" 'official' %}"><img src="/static/images/iconfont-xitongtongzhi (1).png">{% trans "platform" %}{% trans "inform" %}</a></li>         
     {% if request.session.type == 1 %}
<li><a href="{% url "memberDialogue" ''%}"><img src="/static/images/iconfont-jianli.png">{% trans "dialog box" %}</a></li>
   {% endif %}     
         </ul>
         </div>
         <div class="message_center-right-resume">
       <!--   <h3><span><a href="#">全部&nbsp;(10)</a></span><span><a href="#">未读&nbsp;(10)</a></span><span><a href="#">已读&nbsp;(10)</a></span></h3> -->
          <div class="resume_notice">

          {% for x in list %}
              <h1>
          <span>{{x.addTime|date:'Y-m-d'}}</span>
          <!-- <b>•</b> -->
          <a href="{% url "preview" x.comeFrom_id %}">{{x.content}}</a>
          </h1>
          {% endfor %}
        
          
          
       </div>
         </div>
         </div>

        
              


{% endblock %}  


